home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / PLStringFuncs.h < prev    next >
Text File  |  1995-03-27  |  2KB  |  55 lines

  1. /*
  2.     PLStringFuncs.h -- C string conversion functions for pascal
  3.         
  4.     Copyright Apple Computer,Inc.  1989, 1990, 1995
  5.     All rights reserved
  6.  
  7. */
  8.  
  9. /* Conditional Macros:
  10.  *    UsingStaticLibs    - for CFM-68K:  Insures that #pragma import is never used.
  11.  *    <none>            - for CFM-68K:    Insures that all functions and data items are
  12.  *                                    marked as library imports
  13.  */
  14.  
  15. #ifndef __PLSTRINGFUNCS__
  16. #define __PLSTRINGFUNCS__
  17.  
  18. #ifndef    __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26.  
  27. #if defined (__CFM68K__) && !defined (UsingStaticLibs)
  28.     #pragma import on
  29. #endif
  30.  
  31. pascal short        PLstrcmp(ConstStr255Param str1, ConstStr255Param str2);
  32. pascal short         PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num);
  33. pascal StringPtr     PLstrcpy(StringPtr str1, ConstStr255Param str2);
  34. pascal StringPtr     PLstrncpy(StringPtr str1, ConstStr255Param str2, short num);
  35. pascal StringPtr    PLstrcat(StringPtr str1, ConstStr255Param str2);
  36. pascal StringPtr     PLstrncat(StringPtr str1, ConstStr255Param str2, short num);
  37. pascal Ptr             PLstrchr(ConstStr255Param str1, short ch1);
  38. pascal Ptr             PLstrrchr(ConstStr255Param str1, short ch1);
  39. pascal Ptr             PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2);
  40. pascal short         PLstrspn(ConstStr255Param str1, ConstStr255Param str2);
  41. pascal Ptr             PLstrstr(ConstStr255Param str1, ConstStr255Param str2);
  42. pascal short         PLstrlen(ConstStr255Param str);
  43. pascal short        PLpos(ConstStr255Param str1, ConstStr255Param str2);
  44.  
  45.  
  46. #if defined (__CFM68K__) && !defined (UsingStaticLibs)
  47.     #pragma import off
  48. #endif
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #endif
  55.